package com.wanmait.bootdemo.mapper;

import com.wanmait.bootdemo.pojo.Admin;

import java.util.List;

public interface AdminMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Admin record);

    int insertSelective(Admin record);

    Admin selectOne(Integer id);

    int updateByPrimaryKeySelective(Admin record);

    int updateByPrimaryKey(Admin record);

    List<Admin> selectAdmin(Admin admin);
    Admin selectByUsernameAndPassword(Admin admin);
}